#define _CRT_SECURE_NO_WARNINGS
#define PI 3.14
#include<stdio.h>
int main()
{
	int r;
	double s;
	scanf("%d", &r);
	s = PI * r * r;
	printf("%f", s);
	return 0;
}